DataSource for Entity Framework in WPF
C1.LiveLinq.LiveViews.Xml Namespace / XmlExtensions Class / DescendantsAndSelf Method / DescendantsAndSelf(View<XElement>,XName) Method
The source view.
The System.Xml.Linq.XName to match.

In This Topic
    DescendantsAndSelf(View<XElement>,XName) Method
    In This Topic
    Returns a view representing a filtered collection of elements that contains every element in the source view, and the descendants of every element in the source view. Only elements that have a matching System.Xml.Linq.XName are included.
    Syntax
    'Declaration
     
    Public Overloads Shared Function DescendantsAndSelf( _
       ByVal view As View(Of XElement), _
       ByVal name As XName _
    ) As View(Of XElement)
    public static View<XElement> DescendantsAndSelf( 
       View<XElement> view,
       XName name
    )

    Parameters

    view
    The source view.
    name
    The System.Xml.Linq.XName to match.

    Return Value

    A view containing elements in the source view, and the descendants of elements in the source view. Only elements that have a matching System.Xml.Linq.XName are included.
    See Also